﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class mdc_Config : DataObject
    {
        [ID]
        [DID]
        public string ID { get { return _ID; } set { _ID = value; EntityState.FieldChange("ID"); } }
        private string _ID;
        public static FieldInfo id = new FieldInfo("mdc_Config", "ID");

        [Column]
        public string Process { get { return _Process; } set { _Process = value; EntityState.FieldChange("Process"); } }
        private string _Process;
        public static FieldInfo process = new FieldInfo("mdc_Config", "Process");

        [Column]
        public string Step { get { return _Step; } set { _Step = value; EntityState.FieldChange("Step"); } }
        private string _Step;
        public static FieldInfo step = new FieldInfo("mdc_Config", "Step");

        [Column]
        public string Department { get { return _Department; } set { _Department = value; EntityState.FieldChange("Department"); } }
        private string _Department;
        public static FieldInfo department = new FieldInfo("mdc_Config", "Department");

        [Column]
        public string KeyWord { get { return _KeyWord; } set { _KeyWord = value; EntityState.FieldChange("KeyWord"); } }
        private string _KeyWord;
        public static FieldInfo keyword = new FieldInfo("mdc_Config", "KeyWord");

        [Column]
        public string Action { get { return _Action; } set { _Action = value; EntityState.FieldChange("Action"); } }
        private string _Action;
        public static FieldInfo action = new FieldInfo("mdc_Config", "Action");

        [Column]
        public string Name { get { return _Name; } set { _Name = value; EntityState.FieldChange("Name"); } }
        private string _Name;
        public static FieldInfo name = new FieldInfo("mdc_Config", "Name");

        [Column]
        public string Form { get { return _Form; } set { _Form = value; EntityState.FieldChange("Form"); } }
        private string _Form;
        public static FieldInfo form = new FieldInfo("mdc_Config", "Form");

        [Column]
        public string Category { get { return _Category; } set { _Category = value; EntityState.FieldChange("Category"); } }
        private string _Category;
        public static FieldInfo category = new FieldInfo("mdc_Config", "Category");

        [Column]
        public string Multiple { get { return _Multiple; } set { _Multiple = value; EntityState.FieldChange("Multiple"); } }
        private string _Multiple;
        public static FieldInfo multiple = new FieldInfo("mdc_Config", "Multiple");

        [Column]
        public string SAP_Code { get { return _SAP_Code; } set { _SAP_Code = value; EntityState.FieldChange("SAP_Code"); } }
        private string _SAP_Code;
        public static FieldInfo sap_code = new FieldInfo("mdc_Config", "SAP_Code");

        [Column]
        public string Technical { get { return _Technical; } set { _Technical = value; EntityState.FieldChange("Technical"); } }
        private string _Technical;
        public static FieldInfo technical = new FieldInfo("mdc_Config", "Technical");

        [Column]
        public string Marketing { get { return _Marketing; } set { _Marketing = value; EntityState.FieldChange("Marketing"); } }
        private string _Marketing;
        public static FieldInfo marketing = new FieldInfo("mdc_Config", "Marketing");

        [Column]
        public string TMarketing { get { return _TMarketing; } set { _TMarketing = value; EntityState.FieldChange("TMarketing"); } }
        private string _TMarketing;
        public static FieldInfo tmarketing = new FieldInfo("mdc_Config", "TMarketing");

        [Column]
        public string Planning { get { return _Planning; } set { _Planning = value; EntityState.FieldChange("Planning"); } }
        private string _Planning;
        public static FieldInfo planning = new FieldInfo("mdc_Config", "Planning");

        [Column]
        public string Finance { get { return _Finance; } set { _Finance = value; EntityState.FieldChange("Finance"); } }
        private string _Finance;
        public static FieldInfo finance = new FieldInfo("mdc_Config", "Finance");

        [Column]
        public string Logistics { get { return _Logistics; } set { _Logistics = value; EntityState.FieldChange("Logistics"); } }
        private string _Logistics;
        public static FieldInfo logistics = new FieldInfo("mdc_Config", "Logistics");

        [Column]
        public string CA { get { return _CA; } set { _CA = value; EntityState.FieldChange("CA"); } }
        private string _CA;
        public static FieldInfo ca = new FieldInfo("mdc_Config", "CA");

        [Column]
        public string Purchasing { get { return _Purchasing; } set { _Purchasing = value; EntityState.FieldChange("Purchasing"); } }
        private string _Purchasing;
        public static FieldInfo purchasing = new FieldInfo("mdc_Config", "Purchasing");

        [Column]
        public string DMO { get { return _DMO; } set { _DMO = value; EntityState.FieldChange("DMO"); } }
        private string _DMO;
        public static FieldInfo dmo = new FieldInfo("mdc_Config", "DMO");

        [Column]
        public string QA { get { return _QA; } set { _QA = value; EntityState.FieldChange("QA"); } }
        private string _QA;
        public static FieldInfo qa = new FieldInfo("mdc_Config", "QA");

        [Column]
        [NowDate]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } }
        private DateTime _Time;
        public static FieldInfo time = new FieldInfo("mdc_Config", "Time");

        [Column]
        [DefaultInt(0)]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } }
        private int _Status;
        public static FieldInfo status = new FieldInfo("mdc_Config", "Status");
    }
}
